package com.salt.patterns.strategy;

/**
 * 发送类
 *
 * @author KuangHaiBo
 * @date 2021/4/5 20:52
 */
public class Send {
    private final WeChatSendMsgStrategy send;

    public Send(WeChatSendMsgStrategy send) {
        this.send = send;
    }

    public void doSend(String msg) {
        this.send.send(msg);
    }
}
